package org.wukl.vhr.mapper;

import org.apache.ibatis.annotations.Param;
import org.wukl.vhr.model.MenuRole;

public interface MenuRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MenuRole record);

    int insertSelective(MenuRole record);

    MenuRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MenuRole record);

    int updateByPrimaryKey(MenuRole record);
    void deleteMenuRoleByRoleId(Integer roleId);
    Integer batchInsertMenuRole(@Param("rid") Integer rid,@Param("mids") Integer[] mids);
}